#pragma once

#include "Globals.h"
#include "Windows.h"

class CriticalSection
{
public:
	CriticalSection();
	~CriticalSection();

	void Lock();
	void Unlock();
private:
	CriticalSection(const CriticalSection&);
	CriticalSection& operator =(const CriticalSection&);

	CRITICAL_SECTION m_criticalSection;
};